package com.school.movie.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.school.movie.business.web.model.vo.VideoVo;
import com.school.movie.dao.MovieVideoMapper;
import com.school.movie.business.web.model.pojo.MovieVideo;
import com.school.movie.service.MovieVideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (MovieVideo)表服务实现类
 *
 * @author makejava
 * @since 2021-01-27 20:14:33
 */
@Service()
public class MovieVideoServiceImpl extends ServiceImpl<MovieVideoMapper, MovieVideo> implements MovieVideoService {

    @Resource
    private MovieVideoMapper movieVideoMapper;

    @Override
    public List<MovieVideo> listByPage() {
        return movieVideoMapper.listByPage();
    }

    @Override
    public List<VideoVo> listUserVideoByPage() {
        return movieVideoMapper.listUserVideoByPage();
    }
}